<%@ page import="com.macrosolution.exdebito.FileDocument" %>
<!DOCTYPE html>
<html>

<head>
	<meta name="layout" content="kickstart" />
	
	<title><g:message code="File Upload" /></title>
	
	<script type="text/javascript">
	$(document).ready(function(){
		


		});


	function er_go(){

		$('#load_er').fadeIn();	
	}

	</script>
</head>

<body>
	
	<div id="ribbon">

				<span class="ribbon-button-alignment"> 
					
				</span>

				<!-- breadcrumb -->
				<ol class="breadcrumb">
					<li>Home</li><li>Gestione File</li><li>Caricamento File</li>
				</ol>
				<!-- end breadcrumb -->

				

	</div>

	<div id="content">
	
		<div class="row">
			
			<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
						<h1 class="page-title txt-color-blueDark"><i class="fa fa-desktop fa-fw "></i> 
							Gestione File
							<span>>
							Upload
							</span>
						</h1>
			</div>
		
		
		</div>

		<g:hasErrors bean="${fileDocumentInstance}">
		<div class="alert alert-danger">
			<g:renderErrors bean="${fileDocumentInstance}" as="list" />
		</div>
		</g:hasErrors>
		<g:if test="${flash.message }">
		<div class="row">
			<div class="col col-md-6">
				
				<div class="alert alert-danger fade in">
				<button class="close" data-dismiss="alert">
					×
				</button>
				<i class="fa-fw fa fa-check"></i>
				<strong><g:message code="${flash.message}"/></strong> 
			</div>
			
			
			</div>
			
			
		</div>
		
		</g:if>

		<g:form action="upload" class="smart-form" role="form" enctype= "multipart/form-data" >

			<g:render template="form"/>


			
		</g:form>

	</div>

</body>

</html>
